﻿using System;
using System.Text;
using System.Data;
using System.Data.OleDb;
using System.Collections.Generic;
using System.Reflection;
using Data;
namespace BLL
{
    //MsgSendInfo
    public static class MsgSendInfo
	{
        private static Data.MsgSendInfo msg = new Data.MsgSendInfo(); 
		/// <summary>
        /// 添加
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public static long Add(Model.MsgSendInfo model)
        {
            return msg.Add(model);
        }
         /// <summary>
        /// 修改
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public static int Update(Model.MsgSendInfo model)
        {
            return msg.Update(model);
        }       
        /// <summary>
        /// 单条
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        public static Model.MsgSendInfo GetModel(long Id)
        {
            return msg.GetModel(Id);
        }
        public static Model.MsgSendInfo GetModelOrderByAddtime(int type, string userPhone)
        {
            return msg.GetModelOrderByAddtime(type, userPhone);
        }
        public static Model.MsgSendInfo GetModelAll(string sql)
        {
            return msg.GetModelAll(sql);
        } 
	}
}